import { App } from 'vue';
import { Tabbar, TabbarItem, NavBar, Icon, Toast } from 'vant';

const plugins = [Tabbar, TabbarItem, NavBar, Icon, Toast];

export default {
  install: (app: App) => {
    plugins.forEach(item => {
      app.use(item);
    });
  }
};
